import request from '@/utils/request'


export function GetBidderInquiryList(params){
  return request({
    url: '/BidderHomeData/GetBidderInquiryPage',
    method: 'get',
    params: {
        unitId: params.unitId,
        pageIndex: params.pageIndex,
        pageSize: params.pageSize,
        type: params.type,
        key: params.key
    }  
  })
}


export function GetExpertInquiryPage(params){
  return request({
    url: '/InquiryRecord/GetInquiryRecords',
    method: 'get',
    params: {
        projectId: params.projectId,
        pageIndex: params.pageIndex,
        pageSize: params.pageSize,
        key: params.key
    }  
  })
}



export function GetInquiryReplyRecordsAdmin(params){
  return request({
    url: '/InquiryReplyRecord/GetInquiryReplyRecordsAdmin',
    method: 'get',
    params: {
        pageIndex: params.pageIndex,
        pageSize: params.pageSize,
        key: params.key,
        start: params.start,
        end: params.end,
    }  
  })
}
